package com.tzbank.wisdom.controller;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.tzbank.wisdom.service.CustomerCenterService;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@Api(tags={"我的中心"})
@RestController
@RequestMapping("/center")
public class CustomerCenterController {
	@Resource
	private CustomerCenterService customerCenterService;
	
	/**
	 * 获取客服经理信息
	 * @param paramMap
	 * @return
	 */
	@PostMapping("getCustomerMgrInfo")
    @ApiOperation(value = "查询客户经理信息", notes = "查询客户经理信息接口")
	public Map<String,Object> getCustomerMgrInfo(@RequestBody Map<String,String> paramMap){
		
		return customerCenterService.getCustomerMgrInfo(paramMap);
	}
	

	
	@PostMapping("getAssetsAndLiabilities")
	@ApiOperation(value="资产负债查询接口",notes="资产负债查询接口")
	public Map<String,Object> getAssetsAndLiabilities(@RequestBody Map<String,Object> paramMap){
		return customerCenterService.getAssetsAndLiabilities(paramMap);
	
	}
}
